package com.simple.action.main;



import com.xunj.action.common.AbstractAction;
import com.xunj.service.info.InfoService;

/**
 * 首页
 * @author 王瑾
 *
 */
public class MainAction extends AbstractAction{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4654574303236951447L;
	
		
	/**
	 * 首页
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return
	 * @throws Exception
	 */
	public String listMain() throws Exception{
		//信息发布
		InfoService is = new InfoService(dao);
		is.getInfoPublishByTypeL2List(request, "info033001", "033001", 10, false);
		is.getInfoPublishByTypeL2List(request, "info033002", "033002", 10, false);
		
		return toJsp("/jsp/main/main/index.jsp");
	}
	
	
	
}